22382323c5139e01981d436a639273f7b5a5e7d6,web/src/main/java/org/jboss/as/web/WebConnectorAdd.java,WebConnectorAdd,performRuntime,#OperationContext#ModelNode#ModelNode#ServiceVerificationHandler#List#,83
Before Change
if (operation.hasDefined(PROXY_NAME)) {
service.setProxyName(WebConnectorDefinition.PROXY_NAME.resolveModelAttribute(context, fullModel).asString());
}
if (operation.hasDefined(PROXY_PORT)) {
service.setProxyPort(WebConnectorDefinition.PROXY_PORT.resolveModelAttribute(context, fullModel).asInt());
}
if (operation.hasDefined(REDIRECT_PORT)) {
service.setRedirectPort(WebConnectorDefinition.REDIRECT_PORT.resolveModelAttribute(context, fullModel).asInt());
After Change
if (operation.hasDefined(PROXY_NAME) && (resolved = WebConnectorDefinition.PROXY_NAME.resolveModelAttribute(context, fullModel)).isDefined()) {
service.setProxyName(resolved.asString());
}
if (operation.hasDefined(PROXY_PORT)&& (resolved = WebConnectorDefinition.PROXY_PORT.resolveModelAttribute(context, fullModel)).isDefined()) {
service.setProxyPort(resolved.asInt());
}
if (operation.hasDefined(REDIRECT_PORT)&& (resolved = WebConnectorDefinition.REDIRECT_PORT.resolveModelAttribute(context, fullModel)).isDefined()) {
service.setRedirectPort(resolved.asInt());